package com.ysy.controller;

import com.ysy.entity.req.FansListReqDTO;
import com.ysy.entity.req.FollowListReqDTO;
import com.ysy.entity.rsp.FansUserRspVO;
import com.ysy.persimmons.common.response.PageResponse;
import com.ysy.service.FansService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 用户粉丝表 前端控制器
 * </p>
 *
 * @author yangSy
 * @since 2025-04-26
 */
@RestController
@RequestMapping("/fans")
public class FansController {


    @Resource
    private FansService fansService;


    @PostMapping("/list")
    public PageResponse<FansUserRspVO> fansList(@RequestBody FansListReqDTO fansListReq) {
       return fansService.fansList(fansListReq);
    }






}
